package org.yang.loginunion.core.wx.mp.request;

import org.yang.loginunion.core.wx.mp.model.MpAccessToken;
import org.yang.loginunion.core.wx.mp.model.MpUserInfo;

/**
 * 微信公众号API对接
 *
 * @author: Billyang
 * @date: 2024/8/10 14:43
 */
public interface IMpRequest {

    MpAccessToken getAccessToken(String code);

    MpUserInfo getUserinfo(String accessToken, String openid);
}
